<p>You can provide custom property for display and selected value.</p>

<ng-select [items]="cities" bindLabel="name" bindValue="id" [(ngModel)]="selectedCityId"> </ng-select>

<br />
Selected city ID: {{ selectedCityId | json }}
